//
//  RadarScene.h
//  LegoClient
//
//  Created by Balazs Faludi on 16.01.10.
//  Copyright 2010 Universität Basel. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XIEngine.h"
//#import "XIParticle.h"

#define kMaxDistf 150.0f
//#define scannerWidth 10.0

typedef struct Measurement {
	int angle, distance;
} Measurement;

@interface RadarScene : XIScene {
	XIParticleEmiter *emiter;
	//GLuint textures[20];
	Measurement lastMeasurement;
	int ta;
	int td;
	int ts;
	GLuint textures[10];
	BOOL toRight;
	float scannerWidth;
	BOOL scannerOn;
}

@property (nonatomic) float scannerWidth;
@property (nonatomic) BOOL scannerOn;

- (void)addAngle:(int)angle distance:(int)distance;

@end
